<template>
  <el-container class="box">
  <el-header class="header">黑云音乐</el-header>
  <el-container>
    <el-aside width="200px" class="aside"> <el-menu
      :default-active="$route.path" :router='true'>
      <el-menu-item index="/find">
        <i class="el-icon-search"></i>
        <span slot="title">发现音乐</span>
      </el-menu-item>
      <el-menu-item index="/newMusic">
        <i class="el-icon-tickets"></i>
        <span slot="title">最新音乐</span>
      </el-menu-item>
       <el-menu-item index="/newMv">
        <i class="el-icon-video-camera"></i>
        <span slot="title">最新MV</span>
      </el-menu-item>
    </el-menu></el-aside>
    <el-main>
        
      <router-view></router-view>
    </el-main>
  </el-container>
</el-container>
</template>

<script>
export default {

}
</script>

<style>
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}
body, html{
  height: 100%; 
}
.box{
  height: 100%;
}
  .header{
    background-color: #ededed;
    font-size: 26px;
    text-align: center;
    line-height: 60px;
  }
  .aside{
    background-color: #ededed;
  }
</style>